package cn.animal.user.controller;

import cn.animal.common.entity.po.Result;
import org.apache.catalina.User;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/user")
public class UserController {

    @PostMapping("/login")
    Result<String> login(@RequestBody User user) {
        /* TODO 用户登录操作 */
        return Result.success("登录接口返回数据");
    }

    @GetMapping("/test")
    Result<String> test() {
        return Result.success("openfeign远程调用test");
    }

}
